import keyword

print('hello', '\n world')

# 标识符和保留字符
# print(keyword.kwlist)
print('----------------------------------------')
# 变量赋值
name = "名字"
print(name)
print("标识:", id(name))
print('类型:', type(name))
print('值:', name)
print('----------------------------------------')
# 数据类型
m = 100.0
b = (False, True, 1)
c = {'key', 'value'}
print(type(m))
print(type(b))
print(type(c))

print('----------------------------------------')

# 整数类型
num = 1008   # 十进制
num1 = 0b1001  # 二进制  前面加0b
print('二进制', 0b1001);
print('八进制',0o102)
print('十六进制',0x1216)

# 浮点数
n = 1.1
a = 2.2
print(n+a)
from decimal import Decimal
print(Decimal(n)+Decimal(a))
print(Decimal('1.1')+Decimal('2.2'))

# bool类型
f = 1
print(bool(f))

# 字符串类型
str23 = """ 啊啊啊
啊啊"""   # 三引号可换行1

str2 = '1啊啊啊啊哈哈哈'
print(str)
print(str2)

# 类型转换
st = 'tqq'
age = 20
f = False
print('my name is' + st )
print(type(f))
print(type(age))
print(str(age))
print('测试提交')
"""多
    行
    注
    释
"""